package org.yylnb.openplatform.webmaster;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.yylnb.openplatform.webmaster.mq.NotifyGateWayMQBean;
import org.yylnb.openplatform.webmaster.mq.SubPaymentResultMQBean;


@SpringBootApplication
@MapperScan("org.yylnb.openplatform.webmaster.mapper")
@EnableDiscoveryClient
@EnableFeignClients
@EnableCircuitBreaker
@EnableTransactionManagement//开启事务管理
@EnableBinding({NotifyGateWayMQBean.class, SubPaymentResultMQBean.class})
public class Webmaster80 {
    public static void main(String[] args) {
        SpringApplication.run(Webmaster80.class);
    }
}
